package com.taplinker.client.im.rpc.protocal;

public enum RequestEnum {
	SDK_VERIFICATION(1,"sdkverification"),		//SDK初始化
	CUSTOMER_SERVICE_LOGIN(2,"Customerservicelogin"),		//	客服登陆
	GET_PUBQUE(3,"GetpubQue"),		//取公有队列
	GET_PRIQUE(4,"GetPriQue"),		//我的会话
	SPONSOR_CONSULT(5,"SPONSORCONSULT"),		//发起咨询
	MESSAGE_TRANSFER(6,"MESSAGETRANSFER"),		//	消息发送
	READ_MESSAGE(7,"ReadMessage"),						//已读消息
	CUSTOMER_SERVICE_STATUS_CHANGE(8,"CustomerServiceStatusChange"),		//	更改客服状态
	ACCEPT_CONSULT(9,"AcceptConsult"),						//接受咨询
	TRANSFER_CONSULT(10,"TransferConsult"),					//	转接
	APPOINT_CONSULT(11,"AppointConsult"),						//委派
	TERMINATION_CONVERSATION(12,"TerminationConversation"),	//	终止
	GET_CUSTOMER_SERVICELIST(13,"GetCustomerServiceList"),		//	得到客服列表
	ADDTOCRM(14,"AddtoCrm"),									//填加到触客系统
	GET_MESSAGES(15,"GetMessages"),							//得到消息列表
	GET_CONVERSATION(16,"Getconversation"),					//得到会话
	GET_VISITOR_QUE(17,"GetVisitorQue");					//SDK查会话
	
	private final int code;
	private final String name;
	
	public int getCode() {
		return code;
	}
	
	public String getName() {
		return name;
	}
    
    RequestEnum(int code, String name) {
    	this.code = code;
        this.name = name;
    }
    
    @Override
    public String toString() {
    	return ""+code;
    }
}
